<html>
<head>
<meta NAME="author" CONTENT="Judit Vasko-Szedlar">
    <script type="text/javascript" src="../../sh_main.js"></script>
    <script type="text/javascript" src="../../sh_javascript.js"></script>
    <script type="text/javascript" src="../../sh_html.js"></script>
    <link REL ="stylesheet" TYPE="text/css" HREF="../../sh_nedit.css" TITLE="Style">
<link REL ="stylesheet" TYPE="text/css" HREF="../../../marvinmanuals.css" TITLE="Style">
<title>MarvinSketch Example - GUI customization</title>
</head>
<body onload="sh_highlightDocument();">

<h1>MarvinSketch Example - GUI customization</h1>

<p>
In this example the Graphical User Interface is customized to use the ISIS/Draw-like
configuration.
</p>
<center>
<script LANGUAGE="JavaScript1.1" SRC="../../../marvin.js"></script>
<script LANGUAGE="JavaScript1.1">
<!--
msketch_begin("../../..", 540, 480);
msketch_param("menuconfig", "examples/applets/configuration.xml");
msketch_param("ttmpls10", "*Configuration1*chemaxon/marvin/templates/config1.t");
msketch_end();
//-->
</script>
</center>
<p>
A simple configuration file, <code>configuration.xml</code> is given with the
    <a href="../../../help/developer/sketchman.html#parameters.menuconfig">menuconfig</a>
    parameter to achieve this:</p>
<pre>
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;customization active="config1"&gt;
    &lt;/customization&gt;
</pre>

For more information about GUI customization please visit <a href="../../../help/sketch/gui/customization_server_side.html">this link</a>.

<blockquote>
<pre class="sh_html">
&lt;script LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;../../../<a HREF="../marvin.js.txt">marvin.js</a>&quot;&gt;&lt;/script&gt;
&lt;script LANGUAGE=&quot;JavaScript1.1&quot;&gt;
&lt;!--
</pre><pre class="sh_javascript">msketch_begin(&quot;../../..&quot;, 540, 480);
msketch_param(&quot;menuconfig&quot;, &quot;examples/applets/sketch/configuration.xml&quot;);
msketch_param(&quot;ttmpls10&quot;, &quot;*Configuration1*chemaxon/marvin/templates/config1.t&quot;);
msketch_end();
</pre><pre class="sh_html">//--&gt;
&lt;/script&gt;
</pre>
</blockquote>

<p>
<center><div class="lenia">&nbsp;</div></center>
<p>
The <a HREF="disabling.html">next example</a> shows how to
set which atoms and bonds are allowed to draw.

</body>
</html>
